﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IGGCore;

namespace IGG
{
    public class ModeTwitterFormatter : IModeFormatter
    {
        #region IModeFormatter Members

        /// <summary>
        /// Format the history tidbit
        /// </summary>
        public void FormatMode(Scoreboard board)
        {
            int newsCount = 12;

            for (int i = 0; i < newsCount; i++)
            {
                Output.WriteLine();
                Output.WriteLine(" " + board.Tweets[i].Author.ToUpper());
                Output.FormatLongText(board.Tweets[i].Text);
                Output.WriteLine();
            }
        }

        #endregion
    }
}
